package com.shse.sale.meta;

import java.util.List;

/**
 * Created by shse on 3/18/2016.
 * 用户对应java bean
 */
public class User {

    private int id;
    private int usertype;//0为买家，1为卖家
    private String userName;
    private String password;
    private List<Content> contents;


    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Content> getContents() {
        return contents;
    }

    public void setContents(List<Content> contents) {
        this.contents = contents;
    }


}
